public class test7 {
    public static void main(String[] args) {
        int day = 1;
        int money = 1;
        int sum = 1;
        while (sum < 108){
            money = money + 2;
            sum = sum + money;
            day++;
            System.out.println("第 "+day+" 天："+"工资："+sum+"  "+money);
        }
        System.out.println(day);
    }
}
